/*
 * Copyright [2011] [Henry and Will]

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
 * */
package org.hnw.wte;

public class Restaurant {
	
	private String RES_NAME;
	private String RES_DESCRIPTION;
	private String RES_ADDRESS;
	private String RES_IMAGE;
	private long RES_ID;
	
	
	//constructor without any args
	public Restaurant(){
		//do nothing
	}
	
	//constructor with full args
	public Restaurant(long id, String name, String des, String add, String img){
		
		this.RES_ID = id;
		this.RES_NAME = name;
		this.RES_DESCRIPTION = des;
		this.RES_ADDRESS = add;
		this.RES_IMAGE = img;
	}
	
	//constructor without id arg
	public Restaurant( String name, String des, String add, String img){

		this.RES_NAME = name;
		this.RES_DESCRIPTION = des;
		this.RES_ADDRESS = add;
		this.RES_IMAGE = img;
	}
	
	public long getID(){
		return this.RES_ID;
	}
	
	public String getName(){
		return this.RES_NAME;
	}
	public void setName(String name){
		this.RES_NAME = name;
	}
	public String getDescription(){
		return this.RES_DESCRIPTION;
	}
	public void setDescription(String des){
		this.RES_DESCRIPTION = des;
	}
	public String getAddress(){
		return this.RES_ADDRESS;
	}
	public void setAddress(String add){
		this.RES_ADDRESS = add;
	}
	public String getImage(){
		return this.RES_IMAGE;
	}
	public void setImage(String img){
		this.RES_IMAGE = img;
	}

}
